import request from '@/utils/request'

export default {
  queryTradeBill(billDate, billType) {
    return request({
      url: `/api/wx-pay/querybill/${billDate}/${billType}`,
      method: 'get'
    })
  },
  
  downloadBill(downloadUrl) {
    return request({
      url: '/api/wx-pay/download-bill',
      method: 'get',
      params: { downloadUrl }
    })
  }
}